package tas.co.in.controller.userInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

import tas.co.in.dao.userInfo.userInfoConnect;
import tas.co.in.domain.userInfo.userInfoBean;

public class userInfo extends MultiActionController 
{
	private userInfoConnect infoConnect;


	
	/**
	 * @param infoConnect the infoConnect to set
	 */
	public void setInfoConnect(userInfoConnect infoConnect) {
			this.infoConnect = infoConnect;
	}



	public ModelAndView getCustomerDetails(HttpServletRequest request,
			HttpServletResponse response)
	{
		
		
		userInfoBean infoBean=new userInfoBean();
		
		infoBean.setPhone_number(request.getParameter("phoneNumber"));
		
		HttpSession s=request.getSession();
		System.out.println(s.getAttribute("userId"));
		
//		userInfoBean resultlist=infoConnect.getUserDetails(infoBean);
		
//		System.out.println(resultlist.getCity());
		
//		return new ModelAndView("sharedJSP/custumerInfo", "resultObject",
//				resultlist);
		
		
		
		return null;
		
	}
	

}
